package com.bjgov.scoresys.dao;
// default package

import java.util.List;

import org.hibernate.Session;

import com.bjgov.scoresys.util.Page;


/**
 * Data access object (DAO) for domain model
 * @author MyEclipse Persistence Tools
 */
public abstract class BaseHibernateDAO implements IBaseHibernateDAO {
	
	public Session getSession() {
		return HibernateSessionFactory.getSession();
	}
	
	public abstract List getByPage(Page page);
	
	public abstract int count();	
}